package com.atguigu.edupublisher.service.impl;

import com.atguigu.edupublisher.mapper.SugarMapper;
import com.atguigu.edupublisher.service.SugarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * ClassName: SugarService
 * Package: com.atguigu.edupublisher.service.impl
 * Description:
 *
 * @Author 刘冬
 * @Create 2023/5/19 20:40
 * @Version 1.0
 */
@Service
public class SugarServiceImpl implements SugarService {

    @Autowired
    private SugarMapper sugarMapper;

    @Override
    public BigDecimal getProvinceOrderAmount(int date) {
        return sugarMapper.getProvinceOrderAmount(date);
    }
}
